package com.yuyou.fn.platform.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.platform.entity.AreaTeam;
import com.github.wens.framework.service.ISuperService;

import java.util.List;

/**
 *
 * AreaTeam 表数据服务层接口
 *
 */
public interface IAreaTeamService extends ISuperService<AreaTeam,Long> {


    void deleteAreaTeam(Long areaTeamId);

    Page<AreaTeam> findAreaTeamForPage(int pageNo, int pageSize);

    void saveOrUpdateAreaTeam(Long areaTeamId, String name , String province , String city );

    List<AreaTeam> findAreaTeamForList(Long areaTeamId);

    String findTeamNameById(Long areaTeamId );

    AreaTeam findAreaTeamByName(String areaTeamName);

}